import request from '@/utils/request'

// 单位用能统计列表
export function getDeptStatisticsEnergyUsed(params) {
  return request({
    url: '/dept/energy/statistic/list',
    method: 'get',
    params
  })
}

// 历年单位信息
export function energyStatisticYear(params) {
  return request({
    url: '/dept/energy/statistic/year/list',
    method: 'get',
    params
  })
}

// 单位统计汇总
export function getDeptStatisticsEnergyTotal(params) {
  return request({
    url: '/dept/energy/statistic/title',
    method: 'get',
    params
  })
}


// 某单位用能详情
export function getDeptStatisticsEnergyDetail(params) {
  return request({
    url: '/dept/energy/statistic/detail',
    method: 'get',
    params
  })
}
